POV-Ray : Newsgroups : povray.general : pov2 html on-line : Re: pov2 html on-line Server Time
6 Aug 2024 19:34:35 EDT (-0400)
  Re: pov2 html on-line  
From: Lutz-Peter Hooge
Date: 19 Mar 2002 10:40:59
Message: <MPG.17017ad24611f7c09896ef@news.povray.org>
In article <soud9ucn05tt3h9qbsuiup1im475juefct@4ax.com>, abx### [at] babilonorg 
says...

> "The BR element forcibly breaks (ends) the current line of text."
> But what it should do when there is a break by <BR> already ?

But IMO breaking a line also creates a new (empty) line.
This is how it works everywere else, and the specification doesn't say 
in HTML it should behave different.

Also, for the P element the specification explicitly says that empty 
blocks should be ignored. It does NOT say this for BR.

Furthermore I don't see a reason why an empty line should not be allowed 
(multiple <BR> tags are the only way to achive it) 

And last: all browsers (at least those I have here) do interpret multiple 
BR's as expected. IE does it too, except if inside a PRE block.


I've now removed that silly <pre>, the problem I had with NN4 without it 
is gone, probably fixed by some other changes I did before.
So I hope it will now work correctly everywere.

> When you write <B><B>word</B></B> is this word more bold ?

Thats a completely different problem (the BR's were not nested).

The correct question would have been: 
If you write <b></b><b/>word</b>, should the user agent render the first 
B block (containing zero characters) bold, or just skip it? ;-)

Lutz-Peter


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.